<cfcomponent extends="MachII.framework.listener" output="false">

	<cffunction name="getCustomerGrid" access="remote" output="false" returntype="struct">
		<cfargument name="page" required="true" />
		<cfargument name="pageSize" required="true" />
		<cfargument name="gridsortcolumn" required="true" />
		<cfargument name="gridsortdirection" required="true" />
		<cfargument name="Search" required="false" default="">
		<cfset Gateway=createObject("component","hollistv.model.dbo_customer.dbo_customerGateway").init()/>
		<cfreturn queryconvertforgrid(Gateway.getByAttributesQuery(Search="#Search#"),page,pageSize)>
	</cffunction>

</cfcomponent>
